package com.producer.service.impl;

import com.producer.dao.UserDao;
import com.producer.entity.UserEneity;
import com.producer.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImpl implements UserService {

   @Autowired
   private UserDao userDao;

    @Override
    public List<UserEneity> getAll() {
        return userDao.getAll();
    }
}
